package cn.fsd.service;

import cn.fsd.domain.Transfer;
import cn.fsd.query.BaseQuery;
import cn.fsd.query.dispatch.TransferQuery;
import cn.fsd.domain.Transfer_path;
import cn.fsd.vo.PageBean;
import cn.fsd.vo.PointBean;
import cn.fsd.vo.storeroom.transfer.TransferCommodityTaskVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TransferService {
    Transfer findById(String id);

    String add(String order_id);

    PageBean<Transfer> findByPage(BaseQuery query);

    String getStoreroom(String receiver_address);

    List<PointBean> showPoint(String transfer_id);

    Transfer_path showPath(String transfer_id);

    List<Transfer_path> showPathAll(String transfer_id);

    String update(String transfer_id, Integer path_num);

    String addWithWaypoints(String transfer_id,String waypoints);

    String sure(String transfer_id);

    Integer getPathChoice(String transfer_id);

    PageInfo<TransferCommodityTaskVO> findByStoreroomByPage(TransferQuery query);

    PageInfo<TransferCommodityTaskVO> findByStationByPage(TransferQuery query);

    Boolean changeStatus(Transfer transfer);

    Transfer findByOrderId(String order_id);
}
